PHP/PECL Extensions

The table below lists the available PHP modules and PECL extensions in ZendPHP, with corresponding operating systems, versions, and package name.

For further information on installing, configuring, and working with extension directives, please see the PHP Manual.

Module

Debian/Ubuntu(1)

CentOS/RHEL(2)

IBM i(3)

Windows(10)

Alpine

apache2handler (SAPI)

libapache2-mod-php{VERSION}-zend php{VERSION}zend-php php{VERSION}zend built-in php{VERSION}zend-apache2
apcu php{VERSION}-zend-apcu php{VERSION}zend-php-pecl-apcu php{VERSION}zend-php-pecl-apcu N/A php{VERSION}zend-pecl-acpu
bcmath php{VERSION}-zend-bcmath php{VERSION}zend-php-bcmath php{VERSION}zend-php-bcmath built-in php{VERSION}zend-bcmath

bz2

php{VERSION}-zend-bz2 php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_bz2 php{VERSION}zend-bz2

calendar

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-calendar

cgi (SAPI)

php{VERSION}-zend-cgi php{VERSION}zend-php-cli php{VERSION}zend built-in php{VERSION}zend-cgi
cli (SAPI) php{VERSION}-zend-cli php{VERSION}zend-php-cli php{VERSION}zend-php-cli built-in php{VERSION}zend

com_dotnet (4)

N/A N/A N/A standard; php_com_dotnet N/A

ctype

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-ctype

curl

php{VERSION}-zend-curl php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_curl php{VERSION}zend-curl

date

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common
dba php{VERSION}-zend-dba php{VERSION}zend-php-dba N/A N/A php{VERSION}zend-dba

dom

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in php{VERSION}zend-dom

enchant

php{VERSION}-zend-enchant php{VERSION}zend-php-enchant N/A standard; php_enchant php{VERSION}zend-enchant

exif

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_exif php{VERSION}zend-exif
ffi(5) php{VERSION}-zend-common php{VERSION}zend-php-ffi N/A standard; php_ffi php{VERSION}zend-ffi

fileinfo

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_fileinfo php{VERSION}zend-fileinfo

filter

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common
fpm (SAPI) php{VERSION}-zend-fpm php{VERSION}zend-php-fpm php{VERSION}zend-php-fpm built-in php{VERSION}zend-fpm

ftp

php{VERSION}-zend-common php{VERSION}zend-php-ftp php{VERSION}zend-php-common standard; php_ftp php{VERSION}zend-ftp

gd(6)

php{VERSION}-zend-gd php{VERSION}zend-php-gd php{VERSION}zend-php-gd standard; php_gd2 php{VERSION}zend-gd

gettext

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_gettext php{VERSION}zend-gettext
gmp php{VERSION}-zend-gmp php{VERSION}zend-php-gmp php{VERSION}zend-php-gmp standard; php_gmp php{VERSION}zend-gmp

hash

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common
ibm_db2(7) N/A N/A php{VERSION}zend-php-pecl-ibm-db2 N/A N/A

iconv

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-iconv
igbinary php{VERSION}-zend-igbinary php{VERSION}zend-php-pecl-igbinary php{VERSION}zend-php-pecl-igbinary PECL; zendphp-igbinary-latest- {VERSION}; php_igbinary php{VERSION}zend-pecl-igbinary
imagick php{VERSION}-zend-imagick(10) php{VERSION}zend-php-pecl-imagick(16) php{VERSION}zend-php-pecl-imagick PECL; zendphp-imagick-latest- {VERSION}; php_imagick php{VERSION}zend-pecl-imagick

imap

php{VERSION}-zend-imap php{VERSION}zend-php-imap(16) php{VERSION}zend-php-imap standard; php_imap php{VERSION}zend-imap
interbase php{VERSION}-zend-interbase N/A N/A N/A N/A

intl

php{VERSION}-zend-intl php{VERSION}zend-php-intl php{VERSION}zend-php-intl standard; php_intl php{VERSION}zend-intl

json

php{VERSION}-zend-(json / common)(9) php{VERSION}zend-php-(json / common)(9) php{VERSION}zend-php-common built-in php{VERSION}zend-common

ldap

php{VERSION}-zend-ldap php{VERSION}zend-php-ldap php{VERSION}zend-php-ldap standard; php_ldap php{VERSION}zend-ldap

libxml

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-xml
litespeed N/A php{VERSION}zend-php-litespeed N/A N/A N/A

mbstring

php{VERSION}-zend-mbstring php{VERSION}zend-php-mbstring php{VERSION}zend-php-mbstring standard; php_mbstring(11) php{VERSION}zend-mbstring
memcached php{VERSION}-zend-memcached(10) php{VERSION}zend-php-pecl-memcached(16) N/A PECL; zendphp-memcache-latest- {VERSION}; php_memcache php{VERSION}zend-pecl-memcached
mongodb php{VERSION}-zend-mongodb php{VERSION}zend-php-pecl-mongodb(16) php{VERSION}zend-php-pecl-mongodb PECL; zendphp-mongodb-latest- {VERSION}; php_mongodb php{VERSION}zend-pecl-mongodb

msgpack

php{VERSION}-zend-msgpack php{VERSION}zend-php-pecl-msgpack TBD N/A php{VERSION}zend-pecl-msgpack

mysqli

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd standard; php_mysqli php{VERSION}zend-mysqli

mysqlnd

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd built-in php{VERSION}zend-mysqlnd
oauth php{VERSION}-zend-oauth php{VERSION}zend-php-pecl-oauth php{VERSION}zend-php-pecl-oauth N/A php{VERSION}zend-pecl-oauth

oci8

php{VERSION}-zend-oci8(17) php{VERSION}zend-php-oci8 php{VERSION}zend-php-oci8(14) standard; php_oci8 N/A
odbc php{VERSION}-zend-odbc php{VERSION}zend-php-odbc php{VERSION}zend-php-odbc standard; php_odbc php{VERSION}zend-odbc
opcache php{VERSION}-zend-opcache php{VERSION}zend-php-opcache php{VERSION}zend-php-opcache standard; php_opcache php{VERSION}zend-opcache

openssl

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_oopenssl php{VERSION}zend-openssl
pcntl php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common N/A php{VERSION}zend-pcntl

pcre

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common

PDO

php{VERSION}-zend-common php{VERSION}zend-php-pdo php{VERSION}zend-php-common built-in php{VERSION}zend-pdo
pdo_dblib N/A php{VERSION}zend-php-pdo-dblib(16) php{VERSION}zend-php-pdo-dblib N/A php{VERSION}zend-pdo_dblib

pdo_mysql

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd built-in php{VERSION}zend-pdo_mysql
pdo_odbc php{VERSION}-zend-odbc php{VERSION}zend-php-odbc php{VERSION}zend-php-odbc standard; php_pdo_odbc php{VERSION}zend-pdo_odbc

pdo_pgsql

php{VERSION}-zend-pgsql php{VERSION}zend-php-pgsql php{VERSION}zend-php-pgsql standard; php_pdo_pgsql php{VERSION}zend-pdo_pgsql

pdo_sqlite

php{VERSION}-zend-sqlite3 php{VERSION}zend-php-pdo php{VERSION}zend-php-common standard; php_pdo_sqlite php{VERSION}zend-pdo_sqlite
pdo_sqlsrv N/A N/A N/A standard; php_pdo_sqlsrv N/A

pgsql

php{VERSION}-zend-pgsql php{VERSION}zend-php-pgsql php{VERSION}zend-php-pgsql standard; php_pgsql php{VERSION}zend-pgsql

phar

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_phar php{VERSION}zend-phar
phpdbg (SAPI)(8) php{VERSION}-zend-phpdbg php{VERSION}zend-php-dbg N/A N/A php{VERSION}zend-dbg

posix

php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A php{VERSION}zend-posix
pspell php{VERSION}-zend-pspell php{VERSION}zend-php-pspell php{VERSION}zend-php-pspell N/A php{VERSION}zend-pspell
readline php{VERSION}-zend-readline php{VERSION}zend-php-common php{VERSION}zend-php-readline built-in php{VERSION}zend-common
redis php{VERSION}-zend-redis php{VERSION}zend-php-pecl-redis5(16) php{VERSION}zend-php-pecl-redis PECL; zendphp-redis-latest-{VERSION}; php_redis php{VERSION}zend-pecl-redis

Reflection

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common

session

php{VERSION}-zend-session php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-session
shmop php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process standard; php_shmop php{VERSION}zend-shmop

SimpleXML

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in php{VERSION}zend-simplexml
snmp N/A php{VERSION}zend-php-snmp N/A standard; php_snmp N/A

soap

php{VERSION}-zend-soap php{VERSION}zend-php-soap php{VERSION}zend-php-soap standard; php_soap php{VERSION}zend-soap

sockets

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_sockets php{VERSION}zend-sockets
sodium php{VERSION}-zend-common php{VERSION}zend-php-sodium(16) php{VERSION}zend-php-common standard; php_sodium(12) php{VERSION}zend-sodium

SPL

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common

sqlite3

php{VERSION}-zend-sqlite3 php{VERSION}zend-php-pdo php{VERSION}zend-php-common standard; php_sqlite3 php{VERSION}zend-sqlite3
sqlsrv N/A N/A N/A standard; php_sqlsrv N/A
ssh2 php{VERSION}-zend-ssh2 php{VERSION}zend-php-pecl-ssh2 php{VERSION}zend-php-pecl-ssh2 standard; php_ssh2 php{VERSION}zend-pecl-ssh2

sybase

php{VERSION}-zend-sybase N/A N/A N/A N/A
sysvmsg php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A php{VERSION}zend-sysvmsg
sysvsem php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A php{VERSION}zend-sysvsem
sysvshm php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process standard; php_sysvshm php{VERSION}zend-sysvshm

tidy

php{VERSION}-zend-tidy php{VERSION}zend-php-tidy(16) php{VERSION}zend-php-tidy standard; php_tidy php{VERSION}zend-tidy

tokenizer

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_tokenizer php{VERSION}zend-tokenizer
wddx N/A N/A N/A standard; php_wddx(12) N/A

win32service(4)

N/A N/A N/A PECL; zendphp-win32service-latest- {VERSION}; php_win32service N/A
xdebug php{VERSION}-zend-xdebug php{VERSION}zend-php-pecl-xdebug php{VERSION}zend-php-pecl-xdebug PECL; zendphp-xdebug-latest-{VERSION}; php_xdebug php{VERSION}zend-pecl-xdebug

xml

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in php{VERSION}zend-xml

xmlreader

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in php{VERSION}zend-xmlreader
xmlrpc php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml standard; php_xmlrpc(13) php{VERSION}zend-xmlrpc (15)

xmlwriter

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in php{VERSION}zend-xmlwriter

xsl

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml standard; php_xsl php{VERSION}zend-xsl

zip

php{VERSION}-zend-zip php{VERSION}zend-php-zip php{VERSION}zend-php-zip built-in php{VERSION}zend-zip

zlib

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in php{VERSION}zend-common
Zmail(9) N/A N/A php{VERSION}zend-php-common N/A N/A

(1) We support Debian 10, 11, and 12, and Ubuntu 20.04, and 22.04. Substitute the appropriate PHP minor version (e.g., "7.4", "8.1", and "8.2") for {VERSION}.

(2) We support versions 7, 8, and 9 of RHEL and RHEL-compatible operating systems, as listed in our supported platforms.

(3) For IBM i packages, substitute the appropriate PHP minor version MINUS the . separator (e.g., "74", "81", "82") for {VERSION}.

(4) The com_dotnet, WinCache, and win32service extensions are only available in Windows builds.

(5) The FFI extension is only available in PHP 7.4 and later.

(6) The GD extension is compiled with JPEG, PNG, and Freetype support.

(7) The ibm_db2 extension is compiled for IBM i builds only.

(8) The phpdbg extension is only available in PHP 7 versions.

(9) The ZMail extension is specific to IBM i builds, and used to provide mail sending capabilities.

(10) We support Windows 10, 11, and Windows Server 2016, 2019, and 2022. Substitute the appropriate PHP minor version (e.g., "7.4", "8.1", "8.2") for {VERSION}. Values are one of:

  • N/A: not available
  • built-in: built-in and available without any extra configuration
  • standard: provided in the standard download but requiring enablement via an extension = directive; format is "standard; {extension name}"; e.g., "standard; php_xsl".
  • PECL: PECL package needing download and enablement via an extension = directive; format is "PECL; {package name}; {extension name}"; e.g., "PECL, zendphp-redis-latest-{VERSION}; php_redis". (Package files have additional suffixes; see the Windows installation documentation for details.)

(11) The mbstring extension on Windows is compiled against libmfl instead of oniguruma. As such, it does not support the various mb_ereg*() functions.

(12) The wddx extension on Windows is only available for PHP 7.3 and below.

(13) The XML-RPC extension on Windows is only available for PHP 7.4 and below.

(14) The oci8 and pdo_oci extensions on IBM i are only available for PHP 8.1 and below.

(15) The xmlrpc extension is only available in PHP 7 builds on Alpine Linux.

(16) This extension requires that the EPEL repository (Extra Packages for Enterprise Linux) is enabled. If using zendphpctl ext install to install the extension, the script will enable the EPEL for you.

(17) Due to the oci8 issue with Ubuntu 24.04 you must symlink libaio.so.1 to libaio.so.1t64.

amd64: ln -s libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1
arm64: ln -s libaio.so.1t64 /usr/lib/aarch64-linux-gnu/libaio.so.1